#include"rtu.h"
bool pc[COIL];
uint16_t pr[REGISTER];
int main()
{
	while (1)
	{
		memset(pc, 0, sizeof(pc));
		memset(pr, 0, sizeof(pr));
		com_set_adddr();
		rtu_port_set();
		read_port();
		system("pause");
	}
	return 0;
}
